package com.bsp.Filter;


import javax.servlet.*;
import java.io.IOException;

/**
 * 登录检验过滤器
 * Created by zyf on 2017/5/15 0015.
 */
public class LoginFilter implements Filter{

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

        System.out.print(1);
    }

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {

        System.out.print(2);
    }

    @Override
    public void destroy() {
        System.out.print(3);
    }
}
